package com.stock.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

//个股交易流水行情数据查询
@ApiModel(description = "个股交易流水行情数据查询")
@Data
public class StockSecondRtDomain {
    //当前时间，精确到分
    @ApiModelProperty("当前时间，精确到分")
    @JsonFormat(pattern = "yyyy-MM-dd-HH:mm")
    private Date date;

    //交易量
    @ApiModelProperty("交易量")
    private Long tradeAmt;

    //交易金额
    @ApiModelProperty("交易金额")
    private BigDecimal tradeVol;

    //交易价格
    @ApiModelProperty("交易价格")
    private BigDecimal tradePrice;
}
